package pl.edu.agh.portal.application.types;

import java.io.Serializable;

public class Task implements Serializable {

	private static final long serialVersionUID = 6761362720890513970L;
	
	private int taskId;
	private String taskName;
	private String taskStatus;
	private String taskPriority;
	private String taskDescription;
	
	public static final String STATUS_IN_OPENED 	= "Nie zaczeto pracy";
	public static final String STATUS_IN_PROGRESS 	= "W trakcie pracy";
	public static final String STATUS_IN_RESOLVED 	= "Ukonczono";
		
	public static final String PRIORITY_TRIVIAL 	= "Trywialny(1)";
	public static final String PRIORITY_MINOR	 	= "Mniejszy(2)";
	public static final String PRIORITY_MAJOR	 	= "Wiekszy(3)";
	public static final String PRIORITY_CRITICAL 	= "Krytyczny(4)";
	public static final String PRIORITY_BLOCKER	 	= "Blokujacy(5)";
		
	public Task() {
		
	}
	
	public Task(int tastId, String taskName, String taskStatus, String taskPriority) {
		this.taskId = tastId;
		this.taskName 	= taskName;
		this.taskStatus = taskStatus;
		this.taskPriority = taskPriority;
	}
	
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	
	public String getTaskName() {
		return taskName;
	}
	
	public void setTaskPriority(String taskPriority) {
		this.taskPriority = taskPriority;
	}
	
	public String getTaskPriority() {
		return taskPriority;
	}

	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}

	public String getTaskStatus() {
		return taskStatus;
	}

	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}

	public int getTaskId() {
		return taskId;
	}

	public void setTaskDescription(String taskDescription) {
		this.taskDescription = taskDescription;
	}

	public String getTaskDescription() {
		return taskDescription;
	}	
		
}
